package com.pengtu.gsj.service.afgc;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import com.pengtu.gsj.dao.base.Page;
import com.pengtu.gsj.dao.base.QueryFilter;
import com.pengtu.gsj.entity.afgc.LifeCherish;

public interface LifeCherishService {

	public List<Map<String, Object>> importHigherProject(MultipartFile multipartFile, String type) throws Exception;
	
	public Page<LifeCherish> findLifeCherish(Page<LifeCherish> page, QueryFilter queryFilter);
	
	public LifeCherish getLifeCherishById(String id);
	
	public void saveLifeCherish(LifeCherish lifeCherish);
	
	public List<LifeCherish> getLifeCherishs(QueryFilter queryFilter);
	
	public List<String> getLifeCherishsYears();
	
	public List<LifeCherish> getLifeCherishsByAll(String year);
	
	public List<LifeCherish> getlifCherishsByCounty(String year);
	
	public List<LifeCherish> getLifeCherishsByTec(String year);
	
	public List<LifeCherish> getLifeCherishsByDelStatus(String year);
	
	public List<Map<String, Object>> getCountJson(String year);	
	
	public List<LifeCherish> getAllYears();
	
	public ResponseEntity<byte[]> exportData(String year) throws Exception;
	
	public ResponseEntity<byte[]> downAllFiles(LifeCherish lifeCherish)throws IOException;
}
